package com.example.demo.constants;

public interface ErrorStatusConstants {
    String DEFAULT_ERROR_CODE = "0001";
    String DEFAULT_ERROR_MSG = "error";

    String DEFAULT_SUCCESS_CODE = "0000";
    String DEFAULT_SUCCESS_MSG = "success";

    String SERVER_ERROR_CODE = "500";
    String SERVER_ERROR_MSG = "操作失败";

    String REQUEST_ERROR_CODE = "400";
    String REQUEST_ERROR_MSG = "请求参数错误";

    String REQUEST_METHOD_ERROR_CODE = "405";
    String REQUEST_METHOD_ERROR_MSG = "请求方法不支持";

    String ACCESS_DENIED_CODE = "403";
    String ACCESS_DENIED_MSG = "拒绝访问";

    String AUTHENTICATION_FAILURE_CODE = "401";
    String AUTHENTICATION_FAILURE_MSG = "认证失败";
}
